//
//  HTTPRequest+SingleLogin.m
//  WeClubs
//
//  Created by KevinWang on 17/6/14.
//  Copyright © 2017年 Zed. All rights reserved.
//

#import "HTTPRequest+SingleLogin.h"
#import "AppDelegate.h"

@implementation HTTPRequest (SingleLogin)

+ (BOOL)singleLoginWithResult:(int)result
{
    if (result==22) //提示未登录
    {
        
        return YES;
        
    }else if (result == 401){//异端登录
        
        
        return NO;
    }else if (result == 402){//异地登录
        
        return NO;
    }
    
    return NO;
}
@end
